Component({
  options: {
    multipleSlots: true
  },
  properties: {
    people: {
      type: Array,
      value: []
    },
    isShow:{
      type:Boolean,
      value:false
    }
  },
  data: {
    people: [],
    isShow:false,
    birthdayPeopleName:''
  },
  ready:function(){
    let name = ''
    for (let i = 0; i < this.data.people.length; i++) {
      name+=this.data.people[i].name+','
    }
    name = name.substring(0,name.length-1)
    this.setData({
      birthdayPeopleName:name
    })
  },
  methods: {
    clickTap: function () {

    },
    clickCancel:function() {
      this.setData({
        isShow:false
      })
      const value = {
        isShow:this.data.isShow
      }
      this.triggerEvent('callSomeFun',value)
    },
    LongTap:function(){
      console.log('显示')
    }
  }
})